package com.cy.pj.module.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class RequestParameter {
    private String name;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    public Date getStartDate() {
        return startDate;
    }

    //@DateTimeFormat(pattern = "yyyy-MM-dd")
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "RequestParameter{" +
                "name='" + name + '\'' +
                ", startDate=" + startDate +
                '}';
    }
}
